package com.wn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 培训师
 * </p>
 *
 * @author xiaoruan
 * @since 2024-04-14
 */
@Data
@TableName("wnxt_trainer")
@ApiModel(value = "Trainer对象", description = "培训师")
public class Trainer implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("培训师ID")
    private String id;

    @ApiModelProperty("培训师姓名")
    private String name;

    @ApiModelProperty("培训师简介")
    private String intro;

    @ApiModelProperty("培训师资历,一句话说明培训师")
    private String career;

    @ApiModelProperty("头衔 1高级培训师 2首席培训师")
    private Integer level;

    @ApiModelProperty("培训师头像")
    private String avatar;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("逻辑删除 1（true）已删除， 0（false）未删除")
    private Byte isDeleted;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @Override
    public String toString() {
        return "Trainer{" +
                "id = " + id +
                ", name = " + name +
                ", intro = " + intro +
                ", career = " + career +
                ", level = " + level +
                ", avatar = " + avatar +
                ", sort = " + sort +
                ", isDeleted = " + isDeleted +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                "}";
    }
}
